package hash

import (
	"crypto/sha256"
	"encoding/hex"
)

type Mysha2562 struct {
}

func (mysha256 *Mysha2562) SetN(n int) {

}
func (allhash *Mysha2562) GetBytesHash(data []byte) string {

	return ""
}
func (mysha256 *Mysha2562) SetAlog([]string) {

}
func (mysha256 *Mysha2562) GetStringHash(datastr string) string {
	myhash := sha256.New()
	myhash.Write([]byte(datastr))
	bs := myhash.Sum(nil)
	datastrx := hex.EncodeToString(bs)
	mynewhash := sha256.New()
	mynewhash.Write([]byte(datastrx))
	bsx := mynewhash.Sum(nil)
	return hex.EncodeToString(bsx)
}
func (mysha256 *Mysha2562) GetFileHash(filepath string) string {

	return ""
}
func (mysha256 *Mysha2562) GetFiledirHashName(filedirpath string) string {

	return ""
}
func (mysha256 *Mysha2562) GetFiledirHashContent(filedirpath string) string {
	return ""
}
